<style>
	.text{
		text-align: right;
	}
</style>

<div class="zs-side">
	<div class="zs-menu ckxl">
		<div class="item selected">
			<div class="header">外来科研人员入区许可</div>
			<ul class="list">
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwjryrqxk'].tabClass['tab1']}"
					ng-click="setBpmTab('gzwjryrqxk','tab1')"
					>起草</a>
				</li>
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwjryrqxk'].tabClass['tab2']}"
					ng-click="setBpmTab('gzwjryrqxk','tab2')"
					>科研科签批</a>
				</li>
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwjryrqxk'].tabClass['tab3']}"
					ng-click="setBpmTab('gzwjryrqxk','tab3')"
					>办公室主任审核</a>
				</li>
				
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwjryrqxk'].tabClass['tab4']}"
					ng-click="setBpmTab('gzwjryrqxk','tab4')"
					>生成许可表</a>
				</li>
				
			</ul>
		</div>
    </div>
</div>
<div class="zs-main" >
  <!--   报件录入-s -->
    <div class="zs-content" >
    	<h4 class="content-tilte">起草</h4>
    	<div class="container">
    		<div id="content-djs">
    			<div class="zs-letter-table">
    				<table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">唯一编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.id" class="zs-input" />
                                </td>
                            </tr>-->
          					<!--<tr>
                                <td class="text" width="20%">申请编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.ssqbh" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">单位名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sdwmc" class="zs-input" style="width:80%;"/>
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input readonly="true" type="text" ng-model="gzwjryrqxk.editRow.sxmmc" 
                                		class="zs-input" style="width:360px;"/>
                                	
                                	<span> <input type="button" name="ok" value="选择项目" class="zs-btn c-green" 
                                        ng-click="openWindow('chooseProject');" />
                                    <input type="button" name="ok" value="查看项目" class="zs-btn c-green" 
                                        ng-click="cheekProject(gzwjryrqxk.editRow.xmid);" /></span>
                                </td>
                            </tr>
                            <!--<tr>
                                <td class="left" width="50%" colspan="4" style="padding-left:100px">
                                	
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">是否有介绍信(函)</td>
                                <td class="left" width="30%">
                                	<ag-Combobox style="width:175px;height:28px;"
                                        para="{	uDictionary:true,
                                        		dictionary:'p_yesorno'}"
                                        ng-model="gzwjryrqxk.editRow.ijsx"
                                        text-Value="gzwjryrqxk.editRow.ijsxName" />
                                	<!--<input type="chec" ng-model="gzwjryrqxk.editRow.ijsx" class="zs-input" />-->
                                </td>
                                <td class="text" width="20%">提供活动方案情况</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.shdfaqk" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">是否鉴定合作协议</td>
                                <td class="left" width="30%">
                                	<ag-Combobox style="width:175px;height:28px;"
                                        para="{	uDictionary:true,
                                        		dictionary:'p_yesorno'}"
                                        ng-model="gzwjryrqxk.editRow.ijdhzxy"
                                        text-Value="gzwjryrqxk.editRow.ijdhzxyName" />
                                	<!--<input type="text" ng-model="gzwjryrqxk.editRow.ijdhzxy" class="zs-input" />-->
                                </td>
                                <td class="text" width="20%">协议编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sxybh" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">带队负责人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sddfzr" class="zs-input" />
                                </td>
                                <td class="text" width="20%">职务</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.szw" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">联系电话</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.slxdh" class="zs-input" />
                                </td>
                                <td class="text" width="20%">人数</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.srs" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">来访时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dlfsj'   showcurday='gzwjryrqxk.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.dlfsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">附件</td>
                                <td class="left" width="30%">
                                	<ag-Upload ng-model="gzwjryrqxk.editRow.fj" 
				                        para="{}"></ag-Upload>
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">活动计划时限</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.shdjhsx" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目简介</td>
                                <td class="left" width="30%" colspan="3">
                                	<textarea type="text" style="height:200px;width:100%" 
                                		ng-model="gzwjryrqxk.editRow.sxmjj" 
                                		class="zs-input" ></textarea>
                                </td>
                            </tr>
          					
          					
                        </tbody>
                    </table>
                    <table width="100%">
						<tr>
							<td colspan="5"  class="left">
								<input type="button" class="zs-btn"
								ng-click="addChildRow(gzwjryrqxk.editRow,'gzplanpersonnel')"
								value="添加" /> <input type="button" class="zs-btn"
								ng-click="delLocalRows(gzwjryrqxk.editRow.gzplanpersonnel)"
								value="删除">
							</td>
						</tr>
						<tr>
							<td style="text-align: center" class="text" width="5%">
							<input id="allCheckbox" type="checkbox"
                                    ng-click="selectAll('gzwjryrqxk.editRow.gzplanpersonnel','allCheckbox');" /></td>
							<td width="20%" class="text" style="text-align: center">人员名称</td>
							<td width="20%" class="text" style="text-align: center">人员性别</td>
							<td width="20%" class="text" style="text-align: center">人员身份证</td>
							<td width="20%" class="text" style="text-align: center">联系方式</td>
						</tr>
						<tr
							ng-repeat="r in gzwjryrqxk.editRow.gzplanpersonnel">
							<td class="center">
								<input type="checkbox"
                                    ng-click="selectRow('gzwjryrqxk.editRow.gzplanpersonnel',r);"
                                    ng-model="r.selected" /></td>
							<td><span>
									<input type="text" style="width: 95%"
									class="zs-input" ng-model="r.yrmc" required /></td>
							<td><span>
									<ag-Combobox style="width:175px;height:28px;"
	                                        para="{	uDictionary:true,
	                                        		editable:true,
	                                        		dictionary:'p_sex'}"
	                                        ng-model="r.ssex"
	                                        text-Value="r.ssexName" required/></td>
							<td><span>
									<input type="text" style="width: 95%"
									class="zs-input" ng-model="r.ssfz" required /></td>
							<td><span>
									<input type="text" style="width: 95%"
									class="zs-input" ng-model="r.slxfs" /></td>
						</tr>
					</table>
    			</div>
    		</div>
    	</div>
    </div>
	<!--   报件录入-e -->
	<!--   县级经办审查-s -->
    <div class="zs-content" >
    	<div class="container">
    		<div id="content-djs">
    			<div class="zs-letter-table">
    				<table width="100%">
    					<tbody>
    						<!--<tr>
    							<td class="key" width="25%" colspan="2">
    								<span class="mark">科研科签批</span>
    							</td>
    							<td width="75%" colspan="3">
									
									<span ng-repeat="h in gzwjryrqxk.process.usertask2.history">
										<br ng-if="$index>0"/>
										<label ng-bind="h.optcontent"></label><br/>
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>
									
									<br ng-if="gzwjryrqxk.process.usertask2.userEdit" ng-show="gzwjryrqxk.proauth.kssh"/>
	    							<textarea rows="2" cols="8" type="text"  
	    								style="width:100%;height: 200px;"
	    								ng-if="gzwjryrqxk.process.usertask2.userEdit"
										ng-show="gzwjryrqxk.proauth.kssh"
		    							ng-model="gzwjryrqxk.process.usertask2.editRow.optcontent"></textarea>

    							</td>
    						</tr>-->
    						<tr>
                                <td class="text" width="20%">部门签批意见</td>
                                <td class="left" width="30%" colspan="3">
                                	<textarea type="text" style="height:200px;width:100%" 
                                		ng-model="gzwjryrqxk.editRow.sbmspyj" 
                                		class="zs-input" ></textarea>
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">部门签批时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dbmspsj'   showcurday='gzwjryrqxk.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.dbmspsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">部门签批人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sbmspr" class="zs-input" />
                                </td>
                            </tr>
    					</tbody>
    				</table>
    			</div>
    		</div>
    	</div>
    </div>
    <!--   县级经办审查-e -->

   <!--   县级经办审查-s -->
    <div class="zs-content" >
    	<div class="container">
    		<div id="content-djs">
    			<div class="zs-letter-table">
    				<table width="100%">
    					<tbody>
    						<!--<tr>
    							<td class="key" width="25%" colspan="2">
    								<span class="mark">办公室主任审核</span>
    							</td>
    							<td width="75%" colspan="3">
							
								<span ng-repeat="h in gzwjryrqxk.process.usertask3.history">
								<br ng-if="$index>0"/>
								<label ng-bind="h.optcontent"></label><br/>
								签批人:<label ng-bind="h.optassigneesname"></label>
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
								<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
								</span>
								
								<br ng-if="gzwjryrqxk.process.usertask3.userEdit" ng-show="gzwjryrqxk.proauth.bgszrsh"/>
								
    							<textarea rows="2" cols="8" type="text" class="zs-input"  
    								style="width:100%;height: 200px;"
    							ng-if="gzwjryrqxk.process.usertask3.userEdit"
								ng-show="gzwjryrqxk.proauth.bgszrsh"
    							ng-model="gzwjryrqxk.process.usertask3.editRow.optcontent"></textarea>

    							</td>
    						</tr>-->
    						
    						<tr>
                                <td class="text" width="20%">单位签批意见</td>
                                <td class="left" width="30%" colspan="3">
                                	<textarea type="text" style="height:200px;width:100%" 
                                		ng-model="gzwjryrqxk.editRow.sdwspyj" class="zs-input" ></textarea>
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">单位签批时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_ddwspsj'   showcurday='gzwjryrqxk.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.ddwspsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">单位签批人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sdwspr" class="zs-input" />
                                </td>
                            </tr>
    					</tbody>
    				</table>
    			</div>
    		</div>
    	</div>
    </div>
    <!--   县级经办审查-e -->
    
       <!--   生成许可-s -->
   <div class="zs-content" >
    	<div class="container">
    		<div id="content-djs">
    			<div class="zs-letter-table">
    				<table width="100%">
    					<tbody>
    						<tr>
    							<td>
    								<input type="button" class="zs-btn orange" value="打印签批表"
						                ng-click="printSQB('gzwjryrqxk','HtmlToPdf')"/>
						            <input type="button" class="zs-btn orange" value="打印行政许可凭证"
						                ng-click="editRow('gzwjryrqxk', gzwjryrqxk.sRows[0]) && openWindow('xzxkpz');"/>
						            <input type="button" class="zs-btn orange" value="打印行政许可决定书"
						                ng-click="editRow('gzwjryrqxk', gzwjryrqxk.sRows[0]) && openWindow('xzxkjds');"/>
						            <input type="button" class="zs-btn orange" value="打印行政许可办结报告"
						                ng-click="editRow('gzwjryrqxk', gzwjryrqxk.sRows[0]) && openWindow('xzxkbjbg');"/>
    							</td>
    							<!--<td class="key" width="25%" colspan="2">
    								<span class="mark">生成许可表</span>
    							</td>
    							<td width="75%" colspan="3">
							
								<span ng-repeat="h in gzwjryrqxk.process.usertask4.history">
								<br ng-if="$index>0"/>
								<label ng-bind="h.optcontent"></label><br/>
								签批人:<label ng-bind="h.optassigneesname"></label>
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
								<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
								</span>
								
								<br ng-if="gzwjryrqxk.process.usertask4.userEdit" ng-show="gzwjryrqxk.proauth.bgszr"/>
    							<textarea rows="2" cols="8" type="text" class="zs-input" 
    							style="width:100%;height: 200px;"
    							ng-if="gzwjryrqxk.process.usertask4.userEdit"
								ng-show="gzwjryrqxk.proauth.bgszr"
    							ng-model="gzwjryrqxk.process.usertask4.editRow.optcontent"></textarea>
    							
    							
    							</td>-->
    						</tr>
    					</tbody>
    				</table>
    			</div>
    		</div>
    	</div>
    </div>
    <!--   县级经办审查-e -->

</div>